#ifndef GROUNDWEATHERSTATIONPROTOCOL_H
#define GROUNDWEATHERSTATIONPROTOCOL_H

#include <QDate>
#include <QTime>

namespace  protocol
{
    #define METESTATION_PROTOCOLALL_LENGTH 136
    class GroundWeatherStationProtocol
    {
    public:
        QDate m_date;
        QTime m_time;
        double m_temperature;
        double m_humidity;
        double m_pressure;
        double m_one_minute_maxWindSpeed;
        double m_one_minute_windDirection;
        double m_two_minute_avgWindSpeed;
        double m_two_minute_avgWindDirection;
        double m_ten_minute_avgWindSpeed;
        double m_ten_minute_avgWindDirection;
        double m_minute_precipitation;
        double m_hour_precipitation;
        double m_aux_minute_precipitation;
        double m_aux_hour_precipitation;
        double m_road_temerature;
        double m_atmosphere_electric_field;
        double m_total_solar_radiation;
        double m_dew_point_temperature;
        double m_water_vapor_pressure;
        double m_voltage;
        int m_electricity_quantity;
        double m_tilt_angle;
    };
}
Q_DECLARE_METATYPE(protocol::GroundWeatherStationProtocol);
#endif // GROUNDWEATHERSTATIONPROTOCOL_H
